home *** CD-ROM | disk | FTP | other *** search
-
-
-
- aaaallllZZZZeeeerrrrooooFFFFrrrraaaammmmeeeessss((((3333ddddmmmm)))) aaaallllZZZZeeeerrrrooooFFFFrrrraaaammmmeeeessss((((3333ddddmmmm))))
-
-
-
- NNNNAAAAMMMMEEEE
- alZeroFrames - write zero-valued sample frames to an audio port
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- ####iiiinnnncccclllluuuuddddeeee <<<<ddddmmmmeeeeddddiiiiaaaa////aaaauuuuddddiiiioooo....hhhh>>>>
-
- iiiinnnntttt aaaallllZZZZeeeerrrrooooFFFFrrrraaaammmmeeeessss((((ccccoooonnnnsssstttt AAAALLLLppppoooorrrrtttt ppppoooorrrrtttt,,,, ccccoooonnnnsssstttt iiiinnnntttt ffffrrrraaaammmmeeeeccccoooouuuunnnntttt))))
-
- PPPPAAAARRRRAAAAMMMMEEEETTTTEEEERRRR
- _p_o_r_t is the audio output port to which you want to write samples.
- This is the returned value of an aaaallllOOOOppppeeeennnnPPPPoooorrrrtttt((((3333ddddmmmm)))) call.
-
- _f_r_a_m_e_c_o_u_n_t is the number of sample frames that you want to write to the
- audio port.
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- aaaallllZZZZeeeerrrrooooFFFFrrrraaaammmmeeeessss writes a given number of zero-valued sample frames to the
- specified audio port. aaaallllZZZZeeeerrrrooooFFFFrrrraaaammmmeeeessss blocks until _f_r_a_m_e_c_o_u_n_t sample frames
- have been written to the port. If you do not wish to block, make sure
- that _f_r_a_m_e_c_o_u_n_t is less than the return value of aaaallllGGGGeeeettttFFFFiiiillllllllaaaabbbblllleeee((((3333ddddmmmm)))).
-
- aaaallllZZZZeeeerrrrooooFFFFrrrraaaammmmeeeessss is a convenience function, equivalent to calling
- aaaallllWWWWrrrriiiitttteeeeFFFFrrrraaaammmmeeeessss((((3333ddddmmmm)))) with a zero-valued buffer of the given size. However,
- aaaallllZZZZeeeerrrrooooFFFFrrrraaaammmmeeeessss is simpler, particularly when _f_r_a_m_e_c_o_u_n_t is large; it avoids
- having to allocate a large buffer or iterate over many writes of a
- smaller buffer. It is also more efficient than the equivalent
- aaaallllWWWWrrrriiiitttteeeeFFFFrrrraaaammmmeeeessss call.
-
- Note that since an audio port contains an internal queue, zero-valued
- frames written to the port will not immediately come out the associated
- audio device or devices. aaaallllGGGGeeeettttFFFFiiiilllllllleeeedddd((((3333ddddmmmm)))) will indicate how many samples
- are currently in this queue. Also, aaaallllGGGGeeeettttFFFFrrrraaaammmmeeeeTTTTiiiimmmmeeee((((3333ddddmmmm)))) and
- aaaallllGGGGeeeettttFFFFrrrraaaammmmeeeeNNNNuuuummmmbbbbeeeerrrr((((3333ddddmmmm)))) provide facilities for precise synchronization of
- audio and other media.
-
- In order to achieve the best possible performance, aaaallllZZZZeeeerrrrooooFFFFrrrraaaammmmeeeessss does not
- attempt to verify that _p_o_r_t or _s_a_m_p_l_e_s are valid. You should make certain
- these values are valid before passing them as arguments to aaaallllZZZZeeeerrrrooooFFFFrrrraaaammmmeeeessss.
-
- DDDDIIIIAAAAGGGGNNNNOOOOSSSSTTTTIIIICCCCSSSS
- aaaallllZZZZeeeerrrrooooFFFFrrrraaaammmmeeeessss always returns 0.
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- alOpenPort(3dm), alGetFillable(3dm), alGetFilled(3dm),
- alSetChannels(3dm), alSetWidth(3dm), alReadFrames(3dm),
- alZeroFrames(3dm), alSetConfig(3dm), alSetQueueSize(3dm),
- alSetSampFmt(3dm), alSetFloatMax(3dm)
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-